package club.monkeywood.transaction.order.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;
import java.time.ZonedDateTime;

/**
 * Created by mavlarn on 2018/1/20.
 */
@Entity(name = "customer_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order implements Serializable {

    @Id
    @GeneratedValue
    private Long id;

    private String uuid;

    private Long customerId;

    private String title;

    private Long ticketNum;

    private String detail;

    private int amount;

    private String status;

    private String reason;

    private ZonedDateTime createdDate;

}
